OTPOptions

@Serializable
data class OTPOptions(val enabled: Boolean? = null, val duration: <Error class: unknown class>? = null, val length: Int? = null, val emailTemplate: AuthCollection.EmailTemplate? = null)

Parameters

enabled

Whether or not OTP is enabled.

duration

How long the OTP code lasts.

length

The length of the OTP code.

emailTemplate

The email template used to send the OTP code.

Constructors

Link copied to clipboard
constructor(enabled: Boolean? = null, duration: <Error class: unknown class>? = null, length: Int? = null, emailTemplate: AuthCollection.EmailTemplate? = null)

Properties

Link copied to clipboard
val duration: <Error class: unknown class>? = null
Link copied to clipboard
Link copied to clipboard
val enabled: Boolean? = null
Link copied to clipboard
val length: Int? = null